package com.examples;

public class ModelS extends Car{

	public void applySpeed(int speedToIncrease) {
		System.out.println(" Car speed is increased by  "+speedToIncrease +"mph (From ModelS Class)-");
		this.currentSpeed += speedToIncrease;
		System.out.println(" Current Speed is - " + currentSpeed);
	}

	
}
